// 知识接口
import config from "./config";

var domain = config.getDomain;

var pageCount = config.getPageCount;

var DUIXIN_API =  domain + '/index.php?v=1&appid='+config.getAPPID+'&appsecret='+config.getAPPSECRET+'&';

export default  {
	//会员信息
	getU(){
		var url = DUIXIN_API + '&s=u&c=home&m=index';
		return url;
	},
	//url列表
	getUrlList(uid,code,id,cid){
		var url = DUIXIN_API + '&s=quan&c=url&m=url_data_list&api_auth_uid='+uid+'&api_auth_code='+code+'&id='+id+'&cid='+cid;
		return url;
	},
	//修改url,添加url
	editUrl(uid,code,id,cid){
		var url = DUIXIN_API + '&s=quan&c=url&m=url_add&api_auth_uid='+uid+'&api_auth_code='+code+'&id='+id+'&cid='+cid;
		return url;	
	},
	//删除url
	deleteUrl(uid,code,id,cid){
		var url = DUIXIN_API + '&s=quan&c=url&m=delete&api_auth_uid='+uid+'&api_auth_code='+code+'&id='+id+'&cid='+cid;
		return url;
	},
	
	

	


	
	
};